{% extends "index.html" %}

{% block scripts %}
	<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style/own/documents/index.css"/>
{% endblock %}

{% block inline_navi %}
    Dokumente
{% endblock %}

{% block box_title %}
	Fachbereiche
{% endblock %}
{% block box_content %}
	<ul class="buttonbar">
		<li>
			<a class="button add" href="{% url documents.views.add_faculty %}">
			    Da fehlt ein Fachbereich
			</a>
		</li>
	</ul>
	<img class="default" style="float: right;" src="{{ STATIC_URL }}style/img/faculties.png" alt="faculties"/>
	<div class="facultylist">
	    <ul>
	        {% if faculties %}
	            {% for faculty in faculties %}
	                <li>
	                    <a href="{% url documents.views.modulelist faculty.id %}">
	                        {{ faculty }}
	                    </a>
	                </li>
	            {% endfor %}
	        {% endif %}
	    </ul>
	</div>
{% endblock %}
